<!DOCTYPE html>
<meta charset="UTF-8"/>
<form action="register" method="get">
    账号：<input type="text" name="id"><br>
    爱好：网球<input type="checkbox" name="hobbies" value="wangqiu">
    击剑<input type="checkbox" name="hobbies" value="jijian"><br>
    <input type="submit" value="提交">
</form>